package com.fig.spring.replaced;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @Description:
 * @Author: Flynn Vanderboom
 * @Data: 2021/5/25 21:40
 */

public class TestMethodReplacer implements MethodReplacer {
	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println("替换原方法");
		return null;
	}
}
